package com.zy.algorithm.sort.insertion;

import com.zy.algorithm.sort.SortUtils;
import com.zy.algorithm.curtain.IScreenBean;

import java.util.List;

public class InsertionSortV2Fragment extends InsertionSortBaseFragment {

    @Override
    protected List<IScreenBean> getScreenBeanList() {
        int[] array = {99, 88, 77, 66, 55, 44, 33, 22, 11, 5};
        return SortUtils.insertionSortScreen(array);
    }

    private static String title = "插入排序(最坏情况)";

    @Override
    protected String getTitle() {
        return title;
    }

    @Override
    protected String getEnterTitle() {
        return title;
    }
}
